package com.jpa.lgt.core.enums;

import lombok.Data;

/**
 * @author lgt
 * @time 2018/11/29
 * @description：发送消息的动作 枚举
 */

public enum MsgActionEnum {

    CONNENT(1,"第一次（或重连）初始化连接"),

    CHAT(2,"聊天消息"),

    SIGNED(3,"消息签收"),

    KEEPALIVE(4,"客户端保持心跳");

    public final Integer type;

    public final String cotnent;

    MsgActionEnum(Integer type, String cotnent){
        this.type=type;
        this.cotnent=cotnent;
    }

}
